//
//  ShaidanModel.m
//  danpin
//
//  Created by chuangjia on 22/9/15.
//  Copyright © 2015 chuangjia. All rights reserved.
//

#import "ShaidanModel.h"

@implementation ShaidanModel
@synthesize index=_index;
@synthesize title=_title;
@synthesize ishavaimage=_ishavaimage;
@synthesize imageview=_imageview;
@synthesize width=_width;
@synthesize height=_height;
-(CGFloat)width
{
    if (_imageview!=nil) {
        _width = _imageview.size.width;
    }
    
    return _width;
    
}
-(CGFloat)height
{
    if (_imageview!=nil) {
        _height = _imageview.size.height;
    }
    return _height;
}
@end
